<?php
return array(
    'TMPL_PARSE_STRING' => array(
        '__PUBLIC__' =>__ROOT__.'/'.APP_NAME.'/'. MODULE_NAME . '/Public',
        '__PUBLIC_ADMIN__'=>__ROOT__.'/'.APP_NAME.'/'. Admin . '/Public',
    ),
    // '__PUBLIC__' => '', // 更改默认的/Public 替换规则
    // '__PUBLIC__' => APP_PATH.'Public',
    // '__JS__' => '/Public/Admin/js/', // 增加新的JS类库路径替换规则
    // '__CSS__' => '/Public/Admin/css/', // 增加新的上传路径替换规则
    // '__IMAGES__'=>'Public/Admin/images/',
    // '__ORG__'=>'App/Lib/Org/',

    'HTML_CACHE_ON' => true, // 开启静态缓存
    'HTML_CACHE_TIME' => 60, // 全局静态缓存有效期（秒）
    'HTML_FILE_SUFFIX' => '.html', // 设置静态缓存文件后缀
    'HTML_CACHE_RULES' => array( // 定义静态缓存规则
        'Show:index' => array('{:module}_{:controller}_{:action}__{id}', 10),
    ),
    'URL_MODEL' => '2', //URL模式
    'URL_ROUTER_ON' => true,
    'URL_ROUTE_RULES' => array(
        'message'=>'Index/message',
        'news' => 'Index/news',
        'show/:id' => 'Index/show?id=:1',
        'Singlepage/sid/:sid' => 'Singlepage/index',
        'Singlepage/lxwm/:sid' => 'Singlepage/lxwm',
    ),
    
);